Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /


Chapter 1 Using JManager

Figure 1-1 The Java runtime environment, JManager, and a Mac OS application

Figure 1-2 An instantiated Java session

Figure 1-3 Frames versus windows

Figure 1-4 Removing an applet window


Table 1-1 Application-defined frame functions

Table 1-2 Functions that return pointers to Java objects


Listing 1-1 Creating a session

Listing 1-2 Specifying a firewall proxy server

Listing 1-3 Using the JMIdle function

Listing 1-4 Using the JMNewAppletLocatorFromInfo function

Listing 1-5 Using the JMNewAppletLocator function

Listing 1-6 Retrieving information from an applet's HTML page

Listing 1-7 Creating an AWT context

Listing 1-8 Application-defined new frame function

Listing 1-9 Determining the window associated with a frame

Listing 1-10 A callback function to change the title of a window

Listing 1-11 Instantiating an applet

Listing 1-12 Handling events

Listing 1-13 Handling a frame update event

Listing 1-14 Sending an activate event to a frame

Listing 1-15 Sending a resume event to frames

Listing 1-16 Handling a mouse event

Listing 1-17 Handling a keyboard event

Listing 1-18 Handling a menu item selection

Listing 1-19 Launching a Java application

Listing 1-20 Using an Apple event handler to quit a Java application


Chapter 2 JManager Reference

Table 2-1 Window strings passed to MyShowDocument

Table 2-2 JManager result codes


Appendix A Changes from JManager 1.0

Table A-1 Changes from JManager 1.0 functions


Appendix B Mac OS-Related Issues

Table B-1 Mac OS-related issues


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997